package com.bgs.feign;

import com.bgs.pojo.vo.OrderDetail;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

@FeignClient("service-detail")
public interface ZeroFeign1 {


    @GetMapping(value = "detail/bgs/order-detail/zeroOrderDetailIdToOrderDetail/{orderDetailId}")
    public List<OrderDetail> zeroOrderDetailIdToOrderDetail(@PathVariable("orderDetailId") Integer orderDetailId);
}
